package com.sporch.service;

import com.sporch.dao.EndpointProfileRepository;
import com.sporch.model.EndpointProfile;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: czy
 * @Date: 2019/6/4 16:13
 */
@Service
public class EndpointProfileService {
    @Autowired
    EndpointProfileRepository endpointProfileRepository;

    public List<EndpointProfile> findAll(){
        List<EndpointProfile> all = endpointProfileRepository.findAll();
        return all;
    }
}
